import api from '@/fetch/api'

export default{
  data () {
    return {
      viewData: []
    }
  },
  methods: {
    loadList () {
      api.get('note/getList').then(data => {
        data = data.data.data;
        this.viewData = data;
      });
    }
  },
  mounted () {
    this.loadList()
  }
}